package com.haisSwitch.biz.impl;

import com.haisSwitch.biz.IuserBiz;
import com.haisSwitch.pojo.User;
import com.haisSwitch.dao.IuserDao;

public class UserBiz extends BaseBiz implements IuserBiz{

	
	IuserDao dao ;
	
	public void setDao(IuserDao dao) {
		this.dao = dao;
	}
	
	public String enrol(User user) {
		
		try {
			
			return  dao.enrol(user);
			
		} catch (Exception e) {
			// TODO: handle exception
		}
		
		return null;
	}

	

	
	
}
